[HVM] Fix timer interrupt delivery on x64 Vista.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 12 Jan 2007 10:08:38 +0000 (10:08 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 12 Jan 2007 10:08:38 +0000 (10:08 +0000)
commit4c8688811f74e58a04bf5f10e0240e7c0c11b510
tree9c2f8cb4504b45490311fe3bb524e7ca6f607a9e
parentbfdf10eac543f670c7347ea738bf08f6a9e02934
[HVM] Fix timer interrupt delivery on x64 Vista.

x64 SMP Vista HVM guest uses HPET as the main system timer, and it
uses physical destination mode with broadcast to deliver the interrupts
generated by HPET. In current code, timer interrupts are injected only
to VCPU0 in vioapic.c, but this doesn't satisfy x64 SMP Vista -- when
it boots, it complains "a clock interrupt was not received on a
secondary processor within the allocated time interval" with Bug Check
0x101.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/arch/x86/domain.c
xen/arch/x86/hvm/vioapic.c